<template>
  <div class="q-pa-md">
    <div class="q-gutter-md row items-start">
      <t-card
        flat
        bordered
        v-for="animation in skeletonAnimations"
        :key="animation"
        style="width: 250px"
      >
        <t-card-section>
          <div class="text-caption">"{{ animation }}"</div>
        </t-card-section>

        <t-separator />

        <t-card-section>
          <t-skeleton :animation="animation" />
        </t-card-section>
      </t-card>
    </div>
  </div>
</template>

<script>
  export default {
    setup() {
      return {
        skeletonAnimations: [
          'wave',
          'pulse',
          'pulse-x',
          'pulse-y',
          'fade',
          'blink',
          'none',
        ],
      };
    },
  };
</script>
